package com.song.guli.service.statistics.feign;


import com.song.guli.common.base.result.R;
import com.song.guli.service.statistics.feign.fallback.UcenterMemberServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/6/8 - the current system date.
 * 22:04 - the current system time.
 */

@FeignClient(value = "service-ucenter", fallback = UcenterMemberServiceFallBack.class)
@Service
public interface UcenterMemberService {
    @GetMapping(value = "/admin/ucenter/member/count-register-num/{day}")
    R countRegisterNum(@PathVariable("day") String day);
}
